<div class="col-lg-12">
  <nb-card>
    <nb-card-header>编辑公司信息</nb-card-header>
    <nb-card-body>
      <form #f="ngForm">
        <div class="form-group row">
          <label for="inputEmail1" class="col-sm-3 col-form-label">公司名称</label>
          <div class="col-sm-9">
            <input type="text" class="form-control" id="inputEmail1" [(ngModel)]="companyInfo && companyInfo.name" name="name" placeholder="公司名称">
          </div>
        </div>
        <br>
        <div class="form-group row">
          <label for="inputPassword2" class="col-sm-3 col-form-label">公司地址</label>
          <div class="col-sm-9">
            <input type="text" class="form-control" id="inputPassword2" [(ngModel)]="companyInfo && companyInfo.address" name="address" placeholder="公司地址">
          </div>
        </div>
        <br>
        <div class="form-group row">
          <label for="inputPassword3" class="col-sm-3 col-form-label">联系电话</label>
          <div class="col-sm-9">
            <input type="text" class="form-control" id="inputPassword3" [(ngModel)]="companyInfo && companyInfo.tel" name="tel" placeholder="联系电话">
          </div>
        </div>
        <br>
        <div class="form-group row">
          <div class="offset-sm-3 col-sm-9">
            <button type="submit" (click)="submit()" class="btn btn-primary">提交</button>
          </div>
        </div>
      </form>
    </nb-card-body>
  </nb-card>
</div>
